package com.lizhen.structurepattern.facadepattern;

import com.lizhen.structurepattern.facadepattern.impl.Circle;
import com.lizhen.structurepattern.facadepattern.impl.Rectangle;
import com.lizhen.structurepattern.facadepattern.impl.Square;

public class ShapeMaker {
    private Shape circle = new Circle();
    private Shape rectangle = new Rectangle();
    private Shape square = new Square();

    public ShapeMaker() {
    }

    public void drawCircle() {
        this.circle.draw();
    }

    public void drawRectangle() {
        this.rectangle.draw();
    }

    public void drawSquare() {
        this.square.draw();
    }
}
